package com.bienvenue.main.adapter;

import com.bienvenue.main.R;
import com.bienvenue.main.model.EnterpriseMainBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

/**
 * @ProjectName: Bienvenue
 * @Package: com.bienvenue.main.adapter
 * @ClassName: EnterpriseMainAdapter
 * @Description: java类作用描述
 * @Author: Mr.Chen
 * @CreateDate: 2020/9/15 17:22
 * @UpdateUser: Mr.Chen
 * @UpdateDate: 2020/9/15 17:22
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */


public class EnterpriseMainAdapter extends BaseQuickAdapter<EnterpriseMainBean, BaseViewHolder> {
    public EnterpriseMainAdapter() {
        super(R.layout.item_enterprise_main);
    }

    @Override
    protected void convert(BaseViewHolder helper, EnterpriseMainBean item) {
        helper.setText(R.id.tv_details,item.getDetails())
                .setText(R.id.tv_dream_position,item.getDreamPosition())
                .setText(R.id.tv_dream_money,item.getDreamMoney())
                .addOnClickListener(R.id.tv_select_resume)
                .addOnClickListener(R.id.cl_resume);

    }
}
